package Smallprogram.entiy;

import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;

/**
 * @author chenle
 * @version 1.0
 * @date 2023/9/25 15:27
 */
public class Directory {          //目录表
    private int id;      //目录id
    private String Directoryname; //目录名称
    private String DirectoryTime; //目录时间

    private List<Snacksid> list;
    private ArrayList<Directory> listname;

    public Directory(int directoryid, String directoryname, ArrayList<Directory> listname) {
        id = directoryid;
        Directoryname = directoryname;
        this.listname = listname;
    }

    public Directory(int directoryid, String directoryname, List<Snacksid> list) {
        id = directoryid;
        Directoryname = directoryname;
        this.list = list;
    }

    public ArrayList<Directory> getListname() {
        return listname;
    }

    public void setListname(ArrayList<Directory> listname) {
        this.listname = listname;
    }

    public Directory(int directoryid, String directoryname, String directoryTime, List<Snacksid> list) {
        this.id = directoryid;
        this.Directoryname = directoryname;
        this.DirectoryTime = directoryTime;
        this.list = list;
    }

    public List<Snacksid> getList() {
        return list;
    }

    public void setList(List<Snacksid> list) {
        this.list = list;
    }

    public Directory(int directoryid, String directoryname) {
        this.id = directoryid;
        this.Directoryname = directoryname;
    }

    public Directory() {
    }

    public int getDirectoryid() {
        return id;
    }

    public void setDirectoryid(int directoryid) {
        id = directoryid;
    }

    public String getDirectoryname() {
        return Directoryname;
    }

    public void setDirectoryname(String directoryname) {
        Directoryname = directoryname;
    }

    public String getDirectoryTime() {
        return DirectoryTime;
    }

    public void setDirectoryTime(String directoryTime) {
        DirectoryTime = directoryTime;
    }
}
